package com.code1030.staticCode;

public class StudentTest2 {
    public static void main(String[] args) {
        Student2.teacherName = "张城勇";

        Student2 s1 = new Student2();
        System.out.println("s1"+s1);
        s1.name="张三";
        s1.age=18;
        s1.show1();

        System.out.println("================");

        Student2 s2 = new Student2();
        System.out.println("s2："+s2);
        s2.name="李四";
        s2.age=19;
        s2.show1();
    }
}
